//
//  MusicDatabase.h
//  Mecca
//
//  Created by Ryan Enguero on 6/2/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MusicDatabase : NSObject{

    NSMutableArray *dataMusic;
}

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

- (void)musicDataWithName:(NSString*)name andData:(NSData*)data;

+ (MusicDatabase *) sharedItems;

@end
